#lang scribble/doc


@(require scribble/manual)


@title{Scriptecture}

@defproc[(scriptecture-tessellation-1
          (n-u (and/c integer? positive?))
          (n-v (and/c integer? positive?))
          (s (and/c real? positive?)))
         (list/c any/c)]{
Creates a tessellated surface of @racket[n-u] shapes in the u direction and of @racket[n-v] shapes in the v direction using a predefined skin.
The shape used in the tessellation is a box of side @racket[s], and it is aligned in the direction the Z-axis.
}

@defproc[(scriptecture-tessellation-2
          (n-u (and/c integer? positive?))
          (n-v (and/c integer? positive?))
          (s (and/c real? positive?)))
         (list/c any/c)]{
Creates a tessellated surface of @racket[n-u] shapes in the u direction and of @racket[n-v] shapes in the v direction using a predefined skin.
The shape used in the tessellation is a box of side @racket[s] and random height, and it is aligned with the surface normal.
}

@defproc[(scriptecture-tessellation-3
          (n-u (and/c integer? positive?))
          (n-v (and/c integer? positive?))
          (s (and/c real? positive?))
          (f1 real?)
          (f2 real?))
         (list/c any/c)]{
Creates a tessellated surface of @racket[n-u] shapes in the u direction and of @racket[n-v] shapes in the v direction using two sinwave surfaces with frequencies @racket[f1] and @racket[f2], respectively.
The shape used in the tessellation is a cylinder of radius @racket[r], and it is aligned in the direction the Z-axis.
}